package com.jiyun.fegin;


import com.jiyun.Result;
import com.jiyun.pojo.day06.PaperDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/*
 * @Author:limengyao
 * @Date:2023-08-29 16:49
 * @Filename:PaperFigen
 *
 */
@FeignClient("day11-paper")
public interface PaperFigen {

    @RequestMapping("paper/findPaper")
    public  Result findPaper();

    @RequestMapping("paper/findTopic")
    public  Result findTopic(@RequestParam("pid") Integer pid);
}
